<html>
<head>
	<title>test</title>
	<script src="/static/js/jquery.js" type="text/javascript"></script>
	<script src="/static/js/jquery-validate.js" type="text/javascript"></script>
	<script src="/static/js/jquery-plugin.js" type="text/javascript"></script>
	<script src="/static/js/ajaxform.js" type="text/javascript"></script>
	<!--<script src="/static/js/calendar.js" type="text/javascript"></script>
	-->
	<script src="/static/js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
	<style type="text/css">

	body {
		text-align:center;
		margin:0px;
		
	}
	div.content { 
		float: left;
		margin-left: 8px;
		margin-right: 16px;
		padding: 0;
		width: 702px;
	}
	
	.sbox-top {
		background: url("i/bg-sbox-230.gif") no-repeat scroll 0 0 transparent;
		height: 13px;
		overflow: hidden;
	}
	.sbox-content {
		background: none repeat scroll 0 0 #EFF8FF;
		border-left: 2px solid #89B4D6;
		border-right: 2px solid #89B4D6;
	}
	
	.sbox {
		margin-bottom: 15px;
		margin-top: 0;
	}
	.side-tip {
		padding: 10px 10px 10px 15px;
	}
	.sbox-bottom {
		background: url("i/bg-sbox-230.gif") no-repeat scroll 0 -14px transparent;
		height: 13px;
	}
	

	div.left li{
		list-style:none outside none
	}
	div.head_class{
		position:relative;
		width:1200px;
		height:auto;
	}
	
	div.head_class a {
		background-color:#5f8257;
		color: #FFFFFF;
		float: left;
		font-size: 14px;
		font-weight: bold;
		height: 42px;
		line-height: 42px;
		padding: 0 10px;
	}
	 div.head_class a:hover {
		background-color:#63c5c8;
		color:#328889;
		text-decoration:none;
	}
	
	
	div.head_class li{
		float:left;
		list-style:none outside none
	}
	div.head_class li.current a {
		background: none repeat scroll 0 0 #33C5C8;
		color: #FFFFFF;
		text-decoration: none;
	}
	a.delete:hover {
	    background: url("{$webRoot}/static/images/close-button2.png")
	}
	a.delete {
	    background: url("{$webRoot}/static/images/close-button.png") no-repeat scroll center center transparent;
	    display: block;
	    height: 18px;
	    outline: medium none;
	    text-indent: -9999px;
	    width: 18px;
	}

	

</style>
</head>
<body>
	<div class="head_class">
	  <ul style="padding-left : 8px, left : 0, ">
		</ul>
	</div>
	<br />
	<div class="content">
	<div class="left">
		<ul style="padding-left : 8px, left : 0, ">
		</ul>
	</div>
	
	<div class="right">

	
	<table width="550" border="1" cellspacing="0" cellpadding="0">
	<tr>
		<td>スタッフ</td><td>計算開始時間</td><td>計算終了時間</td>
		<td>トータル出勤時間</td><td>トータル休憩時間</td><td>勤務時間</td>
		<td>時給</td><td>給料合計</td><td>賞用</td><td>交通費</td><td>立替金</td>
		<td>その他</td><td>罰金</td><td>合計</td>
	</tr>

    <tr>
    	<?php
			$tempStaff = Staff::getById($salaryMonth['staff_id'])
    		?>
    	<td>{$tempStaff['family_name']} {$tempStaff['personal_name']}</td>
    	<td>${date("Y-m-d", $salaryMonth['start_time'])}</td>
    	<td>${date("Y-m-d", $salaryMonth['end_time'])}</td>
    	<td>{$salaryMonth['tuukin_total_hour']}時 {$salaryMonth['tuukin_total_minute']}分</td>
    	<td>{$salaryMonth['rest_total_hour']}時 {$salaryMonth['rest_total_minute']}分</td>
    	<td>{$salaryMonth['work_total_hour']}時 {$salaryMonth['work_total_minute']}分</td>
    	<td>${number_format($salaryMonth['salary'])}</td>
    	<td>${number_format($one1['back1'])}</td>
    	<td>${number_format($salaryMonth['reword_money'])}</td>
    	<td>${number_format($salaryMonth['bus_money'])}</td>
    	<td>${number_format($salaryMonth['change_money'])}</td>
    	<td>${number_format($salaryMonth['other_money'])}</td>
    	<td>${number_format($salaryMonth['batu_money'])}</td>
    	<td>${number_format($salaryMonth['total_money'])}</td>
    </tr>

  	</table>
  	</div>
  	</div>
</body>
</html>
<script type="text/javascript"> 
	var tempCalendar = null;
	jQuery(function(){
		window.print();
		
	});
</script> 
</html> 